package countSeniors;

public class Solution {
    public int countSeniors(String[] details) {
        int ans = 0;
        for (String s: details) {
            StringBuilder sb = new StringBuilder();
            sb.append(s.charAt(11)).append(s.charAt(12));
            if(Integer.parseInt(sb.toString())>60)ans++;
        }
        return ans;
    }
}